Skip to contentSkip to conversation

glsl: Override the # of varying slots for ClipDistance and TessLevel*. broke chromium browser

Bug 99309 [email protected] 1 participant 5 messages Jan 7, 2017

lore
Share & tools
lore

[email protected]

author Reviewed-by Jason Ekstrand Reviewed-by Timothy Arceri
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99309

Bug ID: 99309
Summary: [radeonsi]glsl: Override the # of varying slots for
ClipDistance and TessLevel*. broke chromium browser
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Hi, after upgrade mesa-git chromium starts looking like garbage. I've tested this on polaris and i965(haswell) and only radeon is infected kernel - 4.9 or 4.10-drm-next-wip
mesa - from git
llvm - r291295
ddx - amdgpu-git

bisecting:

8b5749f65ac434961308ccb579fb8a816e4f29d5 is the first bad commit commit 8b5749f65ac434961308ccb579fb8a816e4f29d5

Author: Kenneth Graunke <[email protected]>
Date:   Sun Nov 15 04:37:50 2015 -0800

glsl: Override the # of varying slots for ClipDistance and TessLevel*.

Right now, this shouldn't have any effect, as all drivers use LowerClipDist and LowerTessFactors to turn the float[] arrays into vectors.

However, it should help make it possible for drivers to avoid that lowering.
me is the only issue for now

after reverting, browser works corectly

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=99309

--- Comment #1 from Arek Ruśniak <[email protected]> --- Created attachment 128805
--> https://bugs.freedesktop.org/attachment.cgi?id=128805&action=edit
chomium look

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99309

--- Comment #2 from Edmondo Tommasina <[email protected]> --- Same here. After updating to mesa-git Chromium with gpu acceleration shows only garbage.

OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.8.0 / 4.9.0-gentoo, LLVM 3.9.0)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99309

--- Comment #3 from Arek Ruśniak <[email protected]> ---
ok, after commit "Revert recent GLSL slot counting fiasco" this raport should disappear

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=99309

Arek Ruśniak <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel